package com.kristin;

import com.kristin.service.DemoService;
import com.kristin.service.impl.DemoServiceImpl;

/**
 * @ClassName ProviderClient
 * @Description TODO
 * @Author Kristin
 * @Date 2021/06/23 15:19:46
 * @Version 1.0.0
 */
public class ProviderClient {



    public static void main(String[] args) {
        // 1、向注册中心注册服务
//        Url url= new Url("127.0.0.1" , 8080);
//        RegisterCenter.register(DemoService.class.getName(), url, DemoServiceImpl.class);


        // 2、暴露服务
        HttpServer server = new HttpServer();
        server.start();
    }

}
